# #列表
# listtype=[]
# listtype1=[1,"","1",{1,2},(1,2),{"key1","value1","key2","value2"}]
# print(listtype1,listtype)
# #字段
# str = 'Hello World!'
# print(str)
# print(str[0:4])
# print(str[4:])
# print(str.replace("o","1"))
# print(str+"你好 世界！")
# #元组
#
# #集合
# import requests
# url="http://192.168.10.121:8081/api/front/login"
# a={
# 	"account": "18292417675",
# 	"password": "crmeb@123456",
# 	"spread_spid": 0
# }
# response=requests.post(url=url,json=a,headers={"application":"json"})
# print(response.text)
import requests
url="http://192.168.10.121:8081/api/front/address/edit"
h={"token","5da48c5846ad4707acdf1bf337970203"}
a={
	"address": {
		"city": "北京市",
		"cityId": 0,
		"district": "东城区",
		"province": "北京市"
	},
	"detail": "123123",
	"id": 3,
	"isDefault": "false",
	"phone": "18112341234",
	"realName": "111"
}
response=requests.post(url=url,json=a,headers={"application":"json"})
print(response.text)